import { Column, Entity, ObjectID, ObjectIdColumn } from "typeorm";
// import { Contains, IsInt, Length, IsEmail, IsFQDN, IsDate, Min, Max } from "class-validator";

@Entity()
export class Users {
  @ObjectIdColumn()
  id: ObjectID;

  @Column()
  username: string;

  @Column()
  password: number;

  @Column()
  age: number;

  @Column()
  phone: number;
}